<?php
/*
  $Id: custom_can.php $
  TomatoCart Open Source Shopping Cart Solutions
  http://www.tomatocart.com

  Copyright (c) 2009 Wuxi Elootec Technology Co., Ltd

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License v2 (1991)
  as published by the Free Software Foundation.
*/


    class osC_Content_custom_can extends osC_Modules {
    var $_title,
        $_code = 'custom_can',
        $_author_name = 'TomatoCart',
        $_author_www = 'http://www.tomatocart.com',
        $_group = 'content';
 
    function osC_Content_custom_can() {
        global $osC_Language;

        $this->_title = 'Custom Can';
        $this->_title = $osC_Language->get('module_custom_can');
    }
 
    function initialize() {

      $this->_title_link = osc_href_link(FILENAME_DEFAULT,'index');
 
      $this->_content = ' ';
    }
 
    function install() {
      global $osC_Database;
 
      parent::install();
 
       $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Maximum Font Size', 'CUSTOM_CAN_MAX_SIZE', '10', 'Maximum size of the font', '6', '0', now())");
    }
 
    function getKeys() {
      if (!isset($this->_keys)) {
        $this->_keys = array('CUSTOM_CAN_MAX_SIZE');
      }
 
      return $this->_keys;
    }
  }
?>